#!/usr/bin/env python
# -*- coding: utf-8 -*-
#  urls.py
#  description

#  Created by zhouzongli633 on 2020/5/20 10:32 上午.
#  Copyright ©Intellectus All rights reserved.

from django.urls import path

from .views import views, storage, login, adminuser, home, tags

urlpatterns = [
    # 健康检查
    path('health_check', views.health_check),
    # path('login', views.admin_login),
    path('get_SAS_token', storage.get_SAS_token),
    path('upload_file', storage.upload_file),
    path('delete_file', storage.delete_file),
    path('setting/adminuser', adminuser.AdminUser.as_view()),
    path('setting/searchuser', adminuser.SearchUser.as_view()),
    path('setting/resetpwd', login.ResetPwdView.as_view()),
    path('setting/tag', tags.TagView.as_view()),
    path('setting/searchtag', tags.SearchTag.as_view()),
    path('login', login.LoginView.as_view()),
    path('upgrade', views.upgrade),
    path('analytics/', views.analytics),

]
